<table>
    <tr>
        <td>
            <?php
            if (($data['taskAssignedOpers'] != NULL) || ($data['taskNotAssignedOpers'] != NULL))
            {
                echo '<label style="font-weight: bold;">'. t('LBL_ASSIGNED_OPERATIONS', 'authAssignment') .'</label> <br />';
                echo Html::dropDownList('revoke[]', null, Html::listData($data['taskAssignedOpers'], 'name', 'name'), array('size' => 20, 'multiple' => 'multiple', 'style' => 'width:200px'));
            }

            ?>	
        </td>
        <td style="width: 50px; text-align: center">
            <div>
                <?php
                $ajax =
                        array(
                            'type' => 'POST',
                            'update' => '#div-opers',
                );
                if (($data['taskAssignedOpers'] != NULL) || ($data['taskNotAssignedOpers'] != NULL))
                    echo Html::ajaxSubmitButton('', array('assign', 'assignOpers' => 1), $ajax, $data['assign']);
                ?>
            </div>	
            <div>
                <?php
                $ajax =
                        array(
                            'type' => 'POST',
                            'update' => '#div-opers',
                );
                if (($data['taskAssignedOpers'] != NULL) || ($data['taskNotAssignedOpers'] != NULL))
                    echo Html::ajaxSubmitButton('', array('assign', 'revokeOpers' => 1), $ajax, $data['revoke']);
                ?>			

            </div>
        </td>

        <td>
            <?php
            if (($data['taskAssignedOpers'] != NULL) || ($data['taskNotAssignedOpers'] != NULL))
            {
                echo '<label style="font-weight: bold;">'. t('LBL_NOT_ASSIGNED_OPERATIONS', 'authAssignment') .'</label> <br />';
                echo Html::dropDownList('assign[]', null, Html::listData($data['taskNotAssignedOpers'], 'name', 'name'), array('size' => 20, 'multiple' => 'multiple', 'style' => 'width:200px'));
            }

            ?>			
        </td>
    </tr>
</table>